package com.shz.appletsapi.common;

public class MineUtils {

	public static Boolean resolveHead(Object arg1, Object arg2) {
		if (arg1 == null || arg2 == null) {
			return false;
		}
		if (arg1 instanceof Integer) {
			if ((int)arg1 == (int)arg2)
				return true;
		} else if (arg1 instanceof String) {
			if (arg1.equals(arg2))
				return true;
		}
		return false;
	}

}
